import { pubRequire } from '@utils/public'
const baseUrl = '/live-rooms/lottery'
const baseUrlApi = '/marketing/options'
/*直播间抽奖列表接口*/
export function getLuckyDrawList(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}`, obj, callbBack, errBack)
}
/*编辑频道设置表单提交*/
export function putLiveGiftList(obj, callbBack, errBack) {
  return pubRequire('put', `${baseUrl}/shelf`, obj, callbBack, errBack)
}
/*编辑抽奖*/
export function putLuckyDrawList(obj, callbBack, errBack) {
  return pubRequire('put', `${baseUrl}`, obj, callbBack, errBack)
}
/*新增抽奖*/
export function postLuckyDrawList(obj, callbBack, errBack) {
  return pubRequire('post', `${baseUrl}`, obj, callbBack, errBack)
}
/*获取获取营销活动列表*/
export function getActivityList(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrlApi}`, obj, callbBack, errBack)
}